﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace QServices
{
	public class QplcAddress
	{

		public static string 开机 => "DB1000.DBX0.0";
		public static string 充电 => "DB1000.DBX0.1";
		public static string 通讯正常 => "DB1000.DBX0.2";
		public static string 故障全部 => "DB1000.DBX0.3";
		public static string 喂料中 => "DB1000.DBX0.4";
		public static string 本次喂料完成 => "DB1000.DBX0.5";
		public static string 故障左行走 => "DB1000.DBX0.6";
		public static string 故障右行走 => "DB1000.DBX0.7";
		public static string 故障左喂料 => "DB1000.DBX1.0";
		public static string 故障右喂料 => "DB1000.DBX1.1";
		public static string 小车急停 => "DB1000.DBX1.2";
		public static string 电池报警 => "DB1000.DBX1.3";
		public static string 左出轨 => "DB1000.DBX1.4";
		public static string 右出轨 => "DB1000.DBX1.5";
		public static string 弯道超时 => "DB1000.DBX1.6";
		public static string 前有障碍物 => "DB1000.DBX1.7";

		public static string YEAR => "DB1000.DBX2.0";
		public static string MONTH => "DB1000.DBX4.0";
		public static string DAY => "DB1000.DBX5.0";
		public static string WEEKDAY => "DB1000.DBX6.0";
		public static string HOUR => "DB1000.DBX7.0";
		public static string MINUTE => "DB1000.DBX8.0";
		public static string SECOND => "DB1000.DBX9.0";
		public static string NANOSECOND => "DB1000.DBX10.0";


		public static string ID0 => "DB1000.DBX14.0";
		public static string ID1 => "DB1000.DBX15.0";
		public static string ID2 => "DB1000.DBX16.0";
		public static string ID3 => "DB1000.DBX17.0";
		public static string ID4 => "DB1000.DBX18.0";
		public static string ID5 => "DB1000.DBX19.0";
		public static string ID6 => "DB1000.DBX20.0";
		public static string ID7 => "DB1000.DBX21.0";
		public static string ID8 => "DB1000.DBX22.0";
		public static string ID9 => "DB1000.DBX23.0";
		public static string ID10 => "DB1000.DBX24.0";
		public static string ID11=> "DB1000.DBX25.0";
		public static string ID12 => "DB1000.DBX26.0";
		public static string ID13 => "DB1000.DBX27.0";
		public static string ID14=> "DB1000.DBX28.0";
		public static string ID15 => "DB1000.DBX29.0";
		public static string ID16 => "DB1000.DBX30.0";
		public static string ID17 => "DB1000.DBX31.0";
		public static string ID18 => "DB1000.DBX32.0";
		public static string ID19 => "DB1000.DBX33.0";
		public static string ID20 => "DB1000.DBX34.0";
		public static string ID21=> "DB1000.DBX35.0";
		public static string ID22 => "DB1000.DBX36.0";
		public static string ID23 => "DB1000.DBX37.0";
		public static string ID24 => "DB1000.DBX38.0";
		public static string ID25 => "DB1000.DBX39.0";
		public static string ID26 => "DB1000.DBX40.0";
		public static string ID27 => "DB1000.DBX41.0";
		public static string ID28 => "DB1000.DBX42.0";
		public static string ID29 => "DB1000.DBX43.0";
		public static string ID30 => "DB1000.DBX44.0";
		public static string ID31 => "DB1000.DBX45.0";
		public static string ID32 => "DB1000.DBX46.0";
		public static string ID33 => "DB1000.DBX47.0";
		public static string ID34 => "DB1000.DBX48.0";
		public static string ID35 => "DB1000.DBX49.0";

		public static string 当前喂料笼数 => "DB1000.DBX50.0";
		public static string 当前电量 => "DB1000.DBX54.0";
		public static string 当前时间 => "DB1000.DBX58.0";
		public static string 当前日期 => "DB1000.DBX62.0";
		public static string 上位机下达早喂料开始时间 => "DB1000.DBX64.0";
		public static string 上位机下达中喂料开始时间 => "DB1000.DBX68.0";
		public static string 上位机下达晚喂料开始时间 => "DB1000.DBX72.0";
		public static string 上位机下达允许喂料 => "DB1000.DBX76.0";
		public static string 上位机下达急停 => "DB1000.DBX76.1";
		public static string 上位机下达备用1 => "DB1000.DBX76.2";
		public static string 上位机下达备用2 => "DB1000.DBX76.3";
		public static string 上位机下达备用3 => "DB1000.DBX76.4";
		public static string 上位机下达备用4 => "DB1000.DBX76.5";
		public static string 上位机下达备用5 => "DB1000.DBX76.6";
		public static string 上位机下达备用6 => "DB1000.DBX76.7";
		public static string 上位机下达备用7 => "DB1000.DBX77.0";
		public static string 上位机下达备用8 => "DB1000.DBX77.1";
		public static string 上位机下达备用9 => "DB1000.DBX77.2";
		public static string 上位机下达备用10 => "DB1000.DBX77.3";
		public static string 上位机下达备用11 => "DB1000.DBX77.4";
		public static string 上位机下达备用12 => "DB1000.DBX77.5";
		public static string 上位机下达备用13 => "DB1000.DBX77.6";
		public static string 上位机下达备用14 => "DB1000.DBX77.7";



		public static string 上位机喂料量下达0=>"DB1000.DBX78.0";
		public static string 上位机喂料量下达1 => "DB1000.DBX82.0";
		public static string 上位机喂料量下达2 => "DB1000.DBX86.0";
		public static string 上位机喂料量下达3 => "DB1000.DBX90.0";
		public static string 上位机喂料量下达4 => "DB1000.DBX94.0";
		public static string 上位机喂料量下达5 => "DB1000.DBX98.0";
		public static string 上位机喂料量下达6 => "DB1000.DBX102.0";
		public static string 上位机喂料量下达7 => "DB1000.DBX106.0";





	}
}
